package com.sitech.openapi.domain.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel(value = "OfferProdInstRel", description = "销售品产品实例关系")
public class OfferProdInstRel implements Serializable {

    private static final long serialVersionUID = 1L;

    // 记录销售品产品实例关系标识，主键。
    @ApiModelProperty(value = "销售品产品实例关系标识")
    private Long offerProdInstRelId;

    // 记录外部销售品产品实例关系标识。
    @ApiModelProperty(value = "外部销售品产品实例关系标识")
    private Long extOfferProdInstRelId;

    // 记录销售品实例标识，外键。
    @ApiModelProperty(value = "销售品实例标识")
    private Long offerInstId;

    // 记录外部销售品实例标识
    @ApiModelProperty(value = "外部销售品实例标识")
    private String extOfferInstId;

    // 记录产品实例标识
    @ApiModelProperty(value = "产品实例标识")
    private Long prodInstId;

    // 记录产品实例标识
    @ApiModelProperty(value = "外部产品实例标识")
    private String extProdInstId;

    //
    @ApiModelProperty(value = "角色编码")
    private String roleCd;

    //
    @ApiModelProperty(value = "角色名称")
    private String roleName;

    // 记录状态。LOVB=PUB-C-0001。
    @ApiModelProperty(value = "状态")
    private String statusCd;

    // 记录备注信息。
    @ApiModelProperty(value = "备注")
    private String remark;

    // 记录产品实例的业务号码。
    @ApiModelProperty(value = "业务号码")
    private String accNum;

    // dateTime记录申请号码预选的生效时间。
    @ApiModelProperty(value = "生效时间")
    private String effDate;

    // dateTime记录申请号码预选的失效时间。
    @ApiModelProperty(value = "失效时间")
    private String expDate;

    public Long getOfferProdInstRelId() {
        return offerProdInstRelId;
    }

    public void setOfferProdInstRelId(Long offerProdInstRelId) {
        this.offerProdInstRelId = offerProdInstRelId;
    }

    public Long getExtOfferProdInstRelId() {
        return extOfferProdInstRelId;
    }

    public void setExtOfferProdInstRelId(Long extOfferProdInstRelId) {
        this.extOfferProdInstRelId = extOfferProdInstRelId;
    }

    public Long getOfferInstId() {
        return offerInstId;
    }

    public void setOfferInstId(Long offerInstId) {
        this.offerInstId = offerInstId;
    }

    public String getExtOfferInstId() {
        return extOfferInstId;
    }

    public void setExtOfferInstId(String extOfferInstId) {
        this.extOfferInstId = extOfferInstId;
    }

    public Long getProdInstId() {
        return prodInstId;
    }

    public void setProdInstId(Long prodInstId) {
        this.prodInstId = prodInstId;
    }

    public String getExtProdInstId() {
        return extProdInstId;
    }

    public void setExtProdInstId(String extProdInstId) {
        this.extProdInstId = extProdInstId;
    }

    public String getRoleCd() {
        return roleCd;
    }

    public void setRoleCd(String roleCd) {
        this.roleCd = roleCd;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getStatusCd() {
        return statusCd;
    }

    public void setStatusCd(String statusCd) {
        this.statusCd = statusCd;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAccNum() {
        return accNum;
    }

    public void setAccNum(String accNum) {
        this.accNum = accNum;
    }

    public String getEffDate() {
        return effDate;
    }

    public void setEffDate(String effDate) {
        this.effDate = effDate;
    }

    public String getExpDate() {
        return expDate;
    }

    public void setExpDate(String expDate) {
        this.expDate = expDate;
    }

    @Override
    public String toString() {
        return "OfferProdInstRel{" +
                "offerProdInstRelId=" + offerProdInstRelId +
                ", extOfferProdInstRelId=" + extOfferProdInstRelId +
                ", offerInstId=" + offerInstId +
                ", extOfferInstId='" + extOfferInstId + '\'' +
                ", prodInstId=" + prodInstId +
                ", extProdInstId='" + extProdInstId + '\'' +
                ", roleCd='" + roleCd + '\'' +
                ", roleName='" + roleName + '\'' +
                ", statusCd='" + statusCd + '\'' +
                ", remark='" + remark + '\'' +
                ", accNum='" + accNum + '\'' +
                ", effDate='" + effDate + '\'' +
                ", expDate='" + expDate + '\'' +
                '}';
    }
}
